package cn.enilu.flash.service.task;


import cn.enilu.flash.bean.entity.task.HelpTask;
import cn.enilu.flash.bean.vo.task.HelpTaskListVo;
import cn.enilu.flash.dao.task.HelpTaskRepository;

import cn.enilu.flash.service.BaseService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class HelpTaskService extends BaseService<HelpTask,Long,HelpTaskRepository>  {
    private Logger logger = LoggerFactory.getLogger(getClass());
    @Autowired
    private HelpTaskRepository helpTaskRepository;

    public List<HelpTask> queryBySql(String sql) {
        List<HelpTask> tasks = helpTaskRepository.queryBySql(sql);
        return tasks;
    }
}

